#ifndef COMMON_fUNCS_H
#define COMMON_fUNCS_H


#include "stm32f4xx_Types.h"

#ifdef __cplusplus
	extern "C" {
#endif

/**
*@addtogroup USER_FUNCS
* @brief the common functions which are used frequently
* @{

*/

/**
 * @defgroup COMMON_FUNCS
 * @{
 **/

/**
 * @{
 */

/**
  * @brief  Swap the values of 2 variables using their address
  * @param  UIN16 * a: Address of the first variable
  * @param  UIN16 * b: Address of the second variable
  * @retval None
  */
void Swap16(UIN16 * a, UIN16 * b);
void SplitDecDigits16(UIN16 Victim, UIN16 * Digits);
/**
 * @}
 */
/**
 * @}
 */
/**
 * @}
 */


#ifdef __cplusplus
	}
#endif
#endif

